<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="id" name="id" th:value="${sdk.id}" type="hidden">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">渠道名称：</label>
                            <div class="col-sm-8">
                                <input id="channelname" name="channelname" th:value="${sdk.channelname}"
                                       class="form-control"
                                       readonly="readonly" type="text">
                            </div>
                        </div>
                        <!-- <div class="form-group">
                             <label class="col-sm-3 control-label">sdkID：</label>
                             <div class="col-sm-8">
                                 <input id="sdkid" name="sdkid" th:value="${sdk.sdkid}" class="form-control" type="text">
                             </div>
                         </div>-->
                        <div class="form-group">
                            <label class="col-sm-3 control-label">sdk名称：</label>
                            <div class="col-sm-8">
                                <input id="sdkname" name="sdkname" th:value="${sdk.sdkname}" class="form-control"
                                       maxlength="50" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">sdk版本：</label>
                            <div class="col-sm-8">
                                <input onkeyup="value=value.replace(/[^\d^\.]+/g,'').replace('.','$#$').replace(/\./g,'').replace('$#$','.')"
                                       id="sdkver" readonly="readonly" name="sdkver" th:value="${sdk.sdkver}"
                                       class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">sdk状态：</label>
                            <div class="col-sm-8">
                                <select id="sdktype" name="sdktype" class="form-control">
                                    <option value="1">正常</option>
                                    <option value="0">删除</option>
                                </select>
                            </div>
                        </div>
                        <input id="sdktypehidden" name="sdktypehidden" th:value="${sdk.sdktype}" type="hidden">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">描述：</label>
                            <div class="col-sm-8">
                                <input maxlength="150" id="sdkdes" name="sdkdes" th:value="${sdk.sdkdes}"
                                       class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/market/sdk/edit.js">

</script>
<script type="text/javascript" th:inline="javascript">

    $(function () {
        /*var single = [[${sdk.sdktype}]];
        alert(single);*/
    })
</script>
</body>
</html>
